home *** CD-ROM | disk | FTP | other *** search
- /* TCHK 0.50 - Howard Kapustein's Turbo C library 11-18-87 */
- /* Copyright (C) 1987, Howard Kapustein. All rights reserved. */
-
- /* color.h - header file containing color definitions */
-
- #ifndef COLORDEF
-
- #define BLACK 0x0 /* HEX 0-7: normal colors */
- #define BLUE 0x1
- #define GREEN 0x2
- #define CYAN 0x3
- #define RED 0x4
- #define MAGENTA 0x5
- #define BROWN 0x6
- #define WHITE 0x7
- #define LBLACK 0x8 /* HEX 8-F: highlighted colors */
- #define LBLUE 0x9
- #define LGREEN 0xA
- #define LCYAN 0xB
- #define LRED 0xC
- #define LMAGENTA 0xD
- #define LBROWN 0xE
- #define YELLOW 0xE
- #define LWHITE 0xF
-
- #define B_BLACK 0x00 /* HEX 10-70: background colors */
- #define B_BLUE 0x10
- #define B_GREEN 0x20
- #define B_CYAN 0x30
- #define B_RED 0x40
- #define B_MAGENTA 0x50
- #define B_BROWN 0x60
- #define B_WHITE 0x70
-
- #define BLINK 0x80 /* blinking color */
- #define BOLD 0x8 /* bold (highlight) color */
- #define INVERSE 0x70 /* inverse video (black on white) */
- #define REVERSE 0x70
- #define NORMAL 0x7 /* white on black */
- #define UNDERLINE 0x1 /* Underline (mono only) */
-
- #define COLORDEF 1
-
- #endif
-